package com.demo.po;

import com.demo.interceptor.FieldDescription;
import com.demo.po.base.PageBean;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 数据库表：日志存储表
 **/

public class LogPo extends PageBean implements Serializable {

    private static final long serialVersionUID = 1L;

    @FieldDescription(value = "日志存储id", nullable = "false")
    private Integer id;
    @FieldDescription(value = "服务器id", nullable = "false")
    private Integer serverid;
    @FieldDescription(value = "应用id", nullable = "false")
    private Integer applicationid;
    @FieldDescription(value = "日志详情", length = "8000")
    private String detail;
    @FieldDescription(value = "日志时间", length = "32")
    private String logtime;

    private String[] idlist; //id列表
    private String applicationname; // 应用名称

    public LogPo() {
    }

    public LogPo(Integer serverid, Integer applicationid) {
        this.serverid = serverid;
        this.applicationid = applicationid;
    }

    public Integer getId(){
        return id;
    }
    public void setId(Integer id){
        this.id=id;
    }
    public Integer getServerid(){
        return serverid;
    }
    public void setServerid(Integer serverid){
        this.serverid=serverid;
    }
    public Integer getApplicationid(){
        return applicationid;
    }
    public void setApplicationid(Integer applicationid){
        this.applicationid=applicationid;
    }
    public String getDetail(){
        return detail;
    }
    public void setDetail(String detail){
        this.detail=detail;
    }
    public String getLogtime(){
        return logtime;
    }
    public void setLogtime(String logtime){
        this.logtime=logtime;
    }
    public String[] getIdlist(){
        return idlist;
    }
    public void setIdlist(String[] idlist){
        this.idlist=idlist;
    }

    public String getApplicationname() {
        return applicationname;
    }

    public void setApplicationname(String applicationname) {
        this.applicationname = applicationname;
    }
}
